package com.example.OneToOne.repository;

import com.example.OneToOne.entity.Book;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface BookRepository extends JpaRepository<Book,Integer> {
    public Book findBookByAuthor_id(int id);
}
